﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once
#include <stdint.h>

namespace gcmp { 

    /// \brief 字体对齐方式
    enum class AnchorAlignmentType : int32_t
    {
        LeftBottom = 0,              ///< 左下对齐
        BottomCenter = 1,            ///< 向下居中对齐
        RightBottom = 2,             ///< 右下对齐
        LeftCenter = 3,              ///< 向左居中对齐
        Center = 4,                  ///< 居中对齐
        RightCenter = 5,             ///< 向右居中对齐
        LeftTop = 6,                 ///< 左上对齐
        TopCenter = 7,               ///< 向上居中对齐
        RightTop = 8,                ///< 右上对齐
        HorizontalLeft = 9,          ///< 水平向左
        HorizontalCenter = 10,       ///< 水平居中
        HorizontalRight = 11,        ///< 水平向右
        Alignment = 12,              ///< 对齐
        Middle = 13,                 ///< 中间
        Full = 14                    ///< 布满
    };

}// namespace gcmp
